<?php

class lang implements arrayaccess {
	private $tlr = array();
	public function __construct() {
		$this->tlr = array(

'language_charset' => 'utf-8',

////header info
'header_desc' => '無節操種子伺服器',
'header_keywords' => '種子, 免費, 下載, 電影, 遊戲, 節目, 應用, 音樂, 卡通, 你懂的',


////main menu (stdheader.php)
'homepage' => '主頁',
'browse' => '種子',
'cats' => '分類',
'upload' => '發佈',
'comments' => '評論',
'contact' => '聯絡',
'forum' => '論壇',



////user small menu
'login' => '登錄',
'signup' => '註冊',
'logout' => '註銷',
'profile' => '我的帳號',
'my_torrents' => '我的種子',


////search box
'search_holder' => '搜索種子',
'in' => '在',
'all_types' => '限定類別',
'search' => '檢索',

't_lang' => '限定語言',
'chinese' => 'Chinese',
'japanese' => 'Japanese',
'english' => 'English',
'russian' => 'Russian',
'latvian' => 'Latvian',
'lang_other' => 'Other',
'choose_lang' => 'Choose',



////moderator message (torrents that need to bee checked)
'need_modded' => '添加的 [<b>%d</b>] 新種子需要被審核 <a href="/browse.php?modded=1"><b>checked</b></a>',


////footer
'page_generated' => 'Loaded in %f seconds with %d queries',
'stats' => '%d peers (%d seeders + %d leechers) in %d torrents',


////main page (index.php)
'torrents_in_24h' => '24小時內熱門種子',
'no_torrents_in_24h' => '在24小時內沒有任何種子被上傳！',


////browse page (browse.php)
't_browse' => '種子列表',
'search_results_for' => '搜索結果',
'search_results_tags' => '搜索結果:',
'search_results_user' => '上傳者:',
'need_mod' => '沒有符合的條目',
'sort' => '排序方式:',
's_name' => '名稱',
's_date' => '日期',
's_comments' => '評論數',
's_seeders' => '做種者',
's_leechers' => '下載者',
'nothing_found' => '什麽也沒有找到',


////details page (details.php)
'invalid_id' => '非法的ID。',
'not_modded' => '種子正在被審核。',
'show_xxx' => '在沒有註冊之前你懂的，或者你在設置中禁止了你懂的顯示',
'annonym' => '匿名',
'uploader' => '發佈者',
'category' => '類別',
'size' => '體積',
'tracker_leechers' => '做重者',
'tracker_seeders' => '下載者',
'snatched' => '下載數',
'download' => '下載種子',
'download_with_magnet' => '磁力链(Magnet)',
'tags' => '標籤',
'screens' => '截圖',
'trailer' => 'Trailer',
'add_comment' => '評論資源',
'edited_by' => '被修改',
'comments_disable' => '評論功能被禁用',
'comment_cant_be_empty' => '清添加評論！',
'you_want_to_delete_x_click_here' => '如果需要刪除種子 %s. 點擊 <a href="%s">這裡</a> 確認。',
'delete' => '刪除',
'comment' => '評論',
'your_comment_was_last' => '最後留言的就是你啊啊啊啊啊啊啊，請直接修改。',
'to_change_comment_click' => '點擊鏈接來修改你的評論',
'btn_edit_comment' => '編輯',
'edit_comment_for' => '編輯評論',
'comments_flood' => '你不能添加超過 <b>%d</b> 條評論，在 <b>%d</b> 分鐘內！',


////account page (my.php)
'my_my' => 'Account',
'my_updated' => 'Account updated!',
'my_mail_sent' => 'Confirmation email has been sent!',
'my_mail_updated' => 'E-mail has been updated!',
'my_mail' => 'Email',
'my_old_pass' => 'Old password',
'my_new_pass' => 'New password',
'my_new_pass_again' => 'Confirm new password',
'my_xxx_torrents' => 'XXX torrents',
'my_xxx_descr' => 'Please check to enable XXX torrents',
'my_mail_update_descr' => '<b>Note:</b> In order to change your account email, you will receive confirmation letter to your new email',
'my_pass_too_long' => 'Sorry, but your password is too long (40 characters Max)',
'my_pass_not_match' => 'Passwords do not match.',
'my_old_pass_error' => 'You entered wrong old password.',
'my_invalid_mail' => 'Looks like invalid email.',
'my_allready_in_use' => 'This email address has been registered by another user.',


////upload and edit page (add.php and edit.php)
'upload_torrent' => '上傳種子',
'add_user_class_notif' => '<b>Your class is lower than VIP. In order to view this torrent in the listing, it has to bee approved by our staff!</b>',
'add_announce_url' => '伺服器地址',
'torrent_file' => '種子文件(*)',
'torrent_name' => '標題名稱(*)',
'torrent_poster' => '發佈者頁面',
'torrent_poster_descr' => '發佈者鏈接',
'type' => '資源種類(*)',
'choose_cat' => 'Choose',
'torrent_trailer' => 'Trailer',
'torrent_trailer_desc' => 'Link from youtube.com',
'torrent_screens' => '圖片',
'torrent_screens_desc' => 'Screenshot link nr.',
'torrent_tags' => '標籤',
'torrent_tags_descr' => 'Example: tag1, tag2, tag3',
'torrent_external' => '來自外部',
'torrent_external_desc' => '如果這個種子屬於第三方伺服器請勾選（沒事就不要勾啦）',
'torrent_annonym' => '匿名',
'torrent_annonym_desc' => '匿名發佈資源',
'torrent_upload' => '發佈',
'torrent_upload_failed' => '種子上傳錯誤',
'torrent_need_desc' => '請為種子添加描述！',
'torrent_need_cat' => '清選擇種子類型！',
'torrent_invalid_filename' => '文件錯誤！',
'torrent_not_torrent' => '臥槽，你上傳的是種子文件？',
'torrent_empty_file' => '您上傳的種子文件是空的！',
'torrent_not_binary' => '抱歉，您上傳的文件咱看不懂。',
'torrent_edit' => '編輯',
'torrent_cant_edit' => '你沒有權限編輯種子。',
'torrent_modded' => '通過',
'torrent_modded_desc' => '需要審核？',
'torrent_edit_btn' => '編輯',
'torrent_delete_btn' => '刪除·',
'torrent_add_tname' => '清為咱添加一個種子名稱吧',
'torrent' => '種子',
'torrent_sticky' => 'Sticky',
'torrent_sticky_desc' => '將種子添加到主頁中？',



////login and signup and recover pages
'authorization' => 'Authorization',
'signup_username' => 'Username',
'signup_username_desc' => 'enter your username',
'signup_password' => 'Password',
'signup_password_desc' => 'enter your password',
'login_btn' => 'Login',
'signup_password_again' => 'Confirm password',
'signup_password_again_desc' => 're-enter your password',
'signup_email' => 'Email',
'signup_email_desc' => 'enter your email',
'signup_btn' => 'Signup',
'recover_btn' => 'Recover',
'recover_email_desc' => 'enter your registered email',
'login_failed' => 'Login failed!',
'account_pennding' => 'Your account is still pending. Please activate your account.',
'account_banned' => 'Your account is banned.',
'login_failed_desc' => 'Username or password failed! To recover your password please click <a href="/login.php">here</a>.',
'login_banned' => 'Login is banned!',
'login_banned_desc' => 'You failed <b>4</b> logins and that is why we banned your IP for today!',
'signup_disabled' => 'Sorry, but registration is disabled by administration.',
'signup_users_limit' => 'Users limit of (%d) is reached. Please try later...',
'signup_already_registered' => 'You are already registered user %s!',
'signup_direct_access' => 'Direct access to this file is disabled.',
'signup_all_fields' => 'All fields must be filled.',
'username_too_long' => 'Sorry, but your username is too long (12 characters Max.)',
'password_mismatch' => 'Passwords does not match.',
'password_too_short' => 'Sorry, but your password is too short (6 characters Min.)',
'password_too_long' => 'Sorry, but your password is too long (40 characters Max.)',
'password_cant_be_as_username' => 'Sorry, but you can not use your username as a password.',
'invalid_email' => 'Looks like invalid email.',
'invalid_username' => 'Looks like invalid username.',
'email_allready_registered' => 'E-mail address <b>%s</b> is already registered.',
'your_ip_banned' => 'Your IP is banned on this tracker.',
'unable_to_signup' => 'Unable to signup!',
'username_allready_taken' => 'Username <b>%s</b> is already taken!',
'recover_unable_s_mail' => 'Unable to send an email. Please contact administration.',
'recover_mail_sent' => 'Information for your account is sent to an E-Mail <b>%s</b>.',
'recover_email_missing' => 'Please enter email',
'recover_cat_find_email' => 'We can not find this email on our tracker',
'recover_mysql_error' => 'Database error. Please contact administration.',
'recover_first_mail_sent' => 'Confirmation email was sent to <b>%s</b>. After few minutes you will receive an email with further instructions.',
'recover_cant_update' => 'We could not update your information. Please contact administration.',
'signup_successful' => 'Thank you for registration!',
'confirmation_mail_sent' => 'Confirmation email was sent to (%s). You need to confirm your account before you can login to our tracker. If you do not do so, your new account will be deleted in few days!',
'thanks_for_registering' => 'Thank you for registration on %s! Now you can <a href="/my.php">login</a> and enjoy our community.',
'sysop_account_activated' => 'SYSOP account activated. Please proceed to <a href="%s/"><b>main</b></a> page.',
'sysop_activated' => 'SYSOP account is activated',
'account_activated' => 'Account activated',
'this_account_activated' => 'This account is activated. Please proceed <a href="/index.php">here</a>.',
'account_confirmed' => 'Account confirmed',
'account_confirmed_desc' => 'Please proceed to <a href="%s/"><b>main</b></a> page.',


////contact form
'c_name' => 'Name',
'c_email' => 'Email',
'c_subject' => 'Subject',
'c_message' => 'Message',
'c_req' => 'Denotes a required field',
'c_send_message' => 'Send Message',

'c_need_name' => 'Please enter your name',
'c_name_min_char' => 'Your name needs to be at least',
'c_char' => 'characters',
'c_valid_email' => 'Please enter a valid email address',
'c_need_subject' => 'You need to enter a subject!',
'c_min_char' => 'Enter at least',
'c_need_message' => 'You need to enter a message',
'c_error_all' => 'Please check if you have filled all the fields with valid information and try again. Thank you.',
'c_mail_sent' => 'Email Successfully Sent!',
'c_thank_you' => 'Thank you for using our contact form! Your email was successfully sent and we will be in touch with you soon.',


////global
'validate_err' => '驗證碼輸入錯誤',
't_comments' => 'Comments',
'error' => 'Error!',
'success' => 'Success!',
'add' => '提交',
'update' => 'Update',
'access_denied' => 'Access denied.',
'class_moderator' => 'Moderator',
'class_sysop' => 'SYSOP',
'class_uploader' => 'VIP',
'class_user' => 'Leecher',
'admin_cheat' => 'Not existing staff account detected!',

		);
	}

    public function offsetSet($offset, $value) {
        $this->tlr[$offset] = $value;
    }
    public function offsetExists($offset) {
        return isset($this->tlr[$offset]);
    }
    public function offsetUnset($offset) {
        unset($this->tlr[$offset]);
    }
    public function offsetGet($offset) {
        return isset($this->tlr[$offset]) ? $this->tlr[$offset] : 'NO_LANG_'.strtoupper($offset);
    }
}

$tracker_lang = new lang;


?>